package com.i2works.smartluolong.manage.entity.admin;

import com.i2works.smartluolong.utils.entity.BaseCommDO;

import java.util.List;

/**
 * 组织机构实体类
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/3/26 14:44
 */

public class AdminOrgDO extends BaseCommDO {

    private Integer id; //
    private Integer pid; // 父类ID；默认值：0
    private String orgName; // 组织名称
    private String orgCode; // 组织代码
    private String orgKey; // 组织父子类标示
    private Integer orgType; // 组织类型（0根节点[暂时无用]，1组织机构，2组织部门，3部门小组）
    private Integer status; // 状态：1正常，0禁用；默认值：1
    private Integer sort; // 排序；默认值：0
    private String description; // 资源描述

    //新加
    private String ids;    //某用户全部资源ID
    private String names;//某用户的全部资源名称
    private String parentName;//父类名称

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgKey() {
        return orgKey;
    }

    public void setOrgKey(String orgKey) {
        this.orgKey = orgKey;
    }

    public Integer getOrgType() {
        return orgType;
    }

    public void setOrgType(Integer orgType) {
        this.orgType = orgType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
